<?php
 
/*
 * 标题：阿里紫订单管理系统
 * 作者：忆天网络 QQ715457186 
 * 官方网址：www.fjd100.com||www.yi66.net
 */
class IndexAction extends AliziAction {
	
    public function _initialize(){
        parent::_init(); 
		if(!empty($this->aliziConfig['system_close_info'])){
			if(preg_match("/^(http|https)/i", $this->aliziConfig['system_close_info'])){
				header('location:'.$this->aliziConfig['system_close_info']);   
			}elseif(preg_match("/^(\/)/i", $this->aliziConfig['system_close_info'])){
				header('location:'.C('ALIZI_ROOT').ltrim($this->aliziConfig['system_close_info'],'/'));  
			}else{
				R('Order/index',array('id'=>$this->aliziConfig['system_close_info'],'tpl'=>'detail',));exit;    
			}
		}
     }    
	 
	 function index(){
		exit;
	 }
	 
}
